<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <link rel="stylesheet" href="./css/admin.css" type="text/css" media="screen" title="no title" charset="utf-8">
        <script src="javascript/prototype.js" type="text/javascript" charset="utf-8"></script>
        <script src="javascript/tiny_mce/tiny_mce.js" type="text/javascript" charset="utf-8"></script>
        <script src="javascript/admin.js" type="text/javascript" charset="utf-8"></script>
        
        
        <title>Babaru | Administration</title>
    </head>
    <body id="admin">
        <div id="global-header">
            <h1 id="site-name" class="hide">Babaru | Administration</h1>
            
            <ul id="global-menu" class="nav">
                <li class="first">
                    <a href="#" class="nav">Articles</a>
                </li>
                <li>
                    <a href="#" class="nav">Options</a>
                </li>
                <li class="right">
                    <a href="#" class="nav">View Site</a>
                </li>
                <li class="right">
                    <a href="#" class="nav">babaru (Logout)</a>
                </li>                
            </ul>
        </div>

        <div id="header">
            <div id="left-tool" class="left">You're posting a new article.</div>
            <div id="right-tool" class="right"><a href="#">Return to article list.</a></div>
            <div class="clear"></div>
        </div>
        <div id="main" class="center">
            <h2 class="title">New post</h2>
            <form action="/admin/articles/create" method="post">
            <div class="green flash">
            	<div class="start"></div>
            	<div class="notice">Success: Something changed.</div>
            	<div class="end"></div>
            	<div class="clear"></div>
            </div>
            
            <div class="errorExplanation" id="errorExplanation">
                <h2>4 errors prohibited this user from being saved</h2>
                <p>
                    There were problems with the following fields:
                </p>
                <ul>
                	<li>
                        Login name can't be blank
                    </li>
                    <li>
                        Missing password
                    </li>
                    <li>
                        Email can't be blank
                    </li>
                    <li>
                        Email is invalid
                    </li>
                </ul>
            </div>
            
            <table class="form" cellpadding="0px" cellspacing="0px">
                <tr>
                    <th colspan="2">Content</td>
                </tr>
                <tr>
                    <td class="labels">Title</td>
                    <td class="fields"><div class="fieldWithErrors"><input type="text" size="58" class="normal_input_width"></input></div></td>
                </tr>
                <tr>
                    <td class="labels">Body</td>
                    <td class="fields"><textarea name="text_body" rows="25" cols="59" wrap="virtual" id="text_body" class="normal_input_width"></textarea></td>
                </tr>
                <tr class="breaker">
                	<td colspan="2" class="header">
                		<a href="javascript://" class="section_toggler" onclick="Element.toggle('et1');Element.toggle('ei1');Element.toggle('ei2');">Tags&nbsp;&nbsp;<img id="ei1" src="images/arrow_right.gif" border="0" alt="" /><img id="ei2" src="images/arrow_down.gif" border="0" alt="" style="display:none;" /></a>                		
                	</td>
                </tr>
                <tr id="et1" style="display:none;">
                	<td></td>
                	<td><a href="javascript://" onclick="open_win('http://www.sina.com.cn');">Open a inner window.</a></td>
                </tr>
                <tr>
                    <td class="labels">Select</td>
                    <td>
                    	<div class="fieldWithErrors">
                    	<select>
                    		<option>hehe</option>
                    	</select>
                    	</div>
                    </td>
                </tr>
                <tr class="button_area">
                	<td colspan="2">
                		<input type="button" name="" value="Create new post" id="" class="submit"></input> or <a href="#">cancel and return to articles list.</a>
                	</td>
                </tr>
            </table>
            </form>
        </div>
        <div id="global-footer">
            <p class="copyright">Copyright &copy; 2007-2008. All rights reserved.</p>
        </div>
    </body>
</html>
